export interface User {
  username: string;
  nickname: string;
}

export interface LoginRequest {
  username: string;
  password: string;
}

export interface LoginResponse {
  success: boolean;
  message: string;
  username?: string;
  nickname?: string;
}

export interface UploadResponse {
  success: boolean;
  message: string;
  duplicate?: boolean;
  id?: string;
  fileName?: string;
  originalName?: string;
  fileSize?: number;
  fileType?: string;
  isImage?: boolean;
  uploadTime?: number;
}